using System;
using Cos.Core.Model.Media;

namespace Cos.Core.NHibernate
{
    public class VideoDataModel : DataModelBase<Video>
    {        
        public virtual bool IsExternal { get; set; }

        public virtual int Id { get; set; }

        public virtual string OriginalCultureCode { get; set; }

       // public virtual IEnumerable<VideoCultureDataModel> VideoCultures { get; set; }

       // public virtual IEnumerable<VideoTagDataModel> VideoTags { get; set; }

        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return false;
            }

            var model = obj as VideoDataModel;

            return model != null && this.Id == model.Id;
        }

        public override int GetHashCode()
        {
            return this.Id.GetHashCode();
        }
        
        public override void Fill(Video model)
        {
            throw new NotImplementedException();
        }

        public override Video ToModel()
        {
            throw new NotImplementedException();
        }
    }
}